package com.lineage.server.command.executor;

import com.lineage.server.model.Instance.L1PcInstance;
import com.lineage.server.serverpackets.S_SystemMessage;
import com.lineage.server.serverpackets.ServerBasePacket;
import com.lineage.server.world.WorldTrap;

public class L1ResetTrap implements L1CommandExecutor {
  public static L1CommandExecutor getInstance() {
    return new L1ResetTrap();
  }
  
  public void execute(L1PcInstance pc, String cmdName, String arg) {
    WorldTrap.get().resetAllTraps();
    pc.sendPackets((ServerBasePacket)new S_SystemMessage("重新配置陷阱!"));
  }
}
